package org.jeecg.modules.pos.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pos_kw_config
 * @Author: jeecg-boot
 * @Date:   2023-05-19
 * @Version: V1.0
 */
@Data
@TableName("pos_kw_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pos_kw_config对象", description="pos_kw_config")
public class PosKwConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**是否开启*/
	@Excel(name = "是否开启", width = 15)
    @ApiModelProperty(value = "是否开启")
    private Boolean state;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**应用范围 0全部菜品 1菜品分类 2菜品*/
	@Excel(name = "应用范围 0全部菜品 1菜品分类 2菜品", width = 15)
    @ApiModelProperty(value = "应用范围 0全部菜品 1菜品分类 2菜品")
    private Integer type;
	/**加价金额*/
	@Excel(name = "加价金额", width = 15)
    @ApiModelProperty(value = "加价金额")
    private BigDecimal money;
	/**口味名称*/
	@Excel(name = "口味名称", width = 15)
    @ApiModelProperty(value = "口味名称")
    private String name;

    @ApiModelProperty(value = "分类或商品列表")
    @TableField(exist = false)
    private List<PosKwConfigDetail> detailList;
}
